<!--
 * @Description: 
 * @Author: 张文韬
 * @Date: 2024-06-23 15:27:49
 * @LastEditTime: 2024-06-23 17:21:47
 * @LastEditors: 张文韬
 * @Reference: 
-->
<template>
  <el-row :gutter="10" justify="space-between">
    <el-col :xs="24" :sm="6">
      <el-card>
        <template #header>当月标准保费</template>
        <section class="flex">
          <el-image
            class="w-100px h-100px"
            src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
            fit="fill"
          />
          <el-statistic class="flex-1 ml-10px" title="标准保费" :value="premium" />
        </section>
      </el-card>
    </el-col>
    <el-col :xs="24" :sm="18">
      <el-card h-full>
        <template #header>待办事项</template>
        <div class="flex flex-justify-around">
          <div v-for="(item, index) in menus" :key="index" class="mt-10px">
            <div class="flex flex-col text-center">
              <el-statistic :title="item.name" :value="item.count" />
            </div>
          </div>
        </div>
      </el-card>
    </el-col>
  </el-row>
</template>

<script setup>
const menus = [
  {
    name: '订单查询',
    count: 0
  },
  {
    name: '保单查询',
    count: 0.0
  }
]
const premium = ref(1480)
</script>
